package chapter14.section5;

//程序14-9b：User类
public class User {
	String userName;
	String password;

	public User(String userName, String password) {
		super();
		this.userName = userName;
		this.password = password;
	}

//添加的login方法只是为了模拟登录，没有实际的登录验证逻辑
	public boolean login() {
		return true;
	}
}
